package com.gxa.modules.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("coach_info")
public class CoachInfo {

  @TableField("coach_id")
  private int coachId;//教练id（主键）

  @TableField("coach_number")
  private Integer coachNumber;//教练编号

  @TableField("coach_name")
  private String coachName;//教练姓名

  @TableField("ID_card")
  private String idCard;//身份证号

  @TableField("coach_gender")
  private int coachGender;//教练性别

  @TableField("mobile_phone")
  private long mobilePhone;//手机号码

  @TableField("work_state")
  private int workState;//供职状态

  @TableField("entry_post")
  private String entryPost;//入职岗位

  @TableField("entry_time")
  private Timestamp entryTime;//合同开始时间

  @TableField("outwork_time")
  private Timestamp outworkTime;//合同结束时间

  @TableField("contact_address")
  private String contactAddress;//联系地址

  @TableField("driving_card")
  private String drivingCard;//驾驶证号

  @TableField("issuance_time")
  private Timestamp issuanceTime;//领证日期

  @TableField("driving_type")
  private String drivingType;//准驾车型

  @TableField("teaching_type")
  private String teachingType;//准教车型

  @TableField("certification_card")
  private String certificationCard;//职业资格证号

  @TableField("coach_remarks")
  private String coachRemarks;//职业资格等级

  @TableField("coach_picture")
  private String coachPicture;//教练照片

  @TableField("coach_state")
  private int coachState;//教练状态

  @TableField("train_id")
  private long trainId;//驾校id（外键列）


}
